/*
    用 do-while 显示菜单
    要求：输入选项后输出对应操作（如选1输出进入游戏大厅...），输入3时退出循环。
*/
#include <iostream>
using namespace std;

int main() {
    int choice;
    do {
        cout << "1.开始游戏\n2.加载存档\n3.退出\n";
        cout << "请输入选项：";
        cin >> choice;
        if (choice == 1) cout << "进入游戏大厅...\n";
        else if (choice == 2) cout << "加载存档中...\n";
        else if (choice == 3) cout << "退出游戏。\n";
        else cout << "无效选项！\n";
    } while (choice != 3);
    return 0;
}